package dao

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name   string `gorm:"type:varchar(20);not null;comment:姓名"`
	Mobile string `gorm:"type:char(11);not null;comment:手机号"`
	Code   string `gorm:"type:char(4);not null;comment:验证码"`
}
